# -*- coding: utf-8 -*-
# 创建时间：2022/1/24 10:50
from bs4 import BeautifulSoup
import requests
import time, math, random, json
import pymysql
import re
from hhy import FileUtil,DateUtil,ToolUtil,HttpUtil

__author__ = 'LuckyHhy'
headers={
    'Accept': 'application/json, text/plain, */*',
    'Referer': 'https://app.diandian.com/search/googleplay-11-3-1-com.aqgrzqejvhzz.djvyjis',
    'Host': 'api.diandian.com',
    'Origin':'https://app.diandian.com',
    'Cookie':'Qs_lvt_404253=1642930156%2C1642991864; Qs_pv_404253=1269451644010234000%2C2759321039613319000%2C4280325286638286300%2C894931932639994000%2C1551709726271500300',
    'User-Agent': HttpUtil.AgentRandom()
}

def main():
    a=requests.session()
    url='https://monitor-service.diandian.com/api/4/envelope/?sentry_key=a15b2fc515f344ef92ec3a559f22da38&sentry_version=7'
    res = a.get(url=url, headers=headers)

    print(res.content)
    pass


if __name__ == '__main__':
    main()
